﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Easyleave.Logic.Membership
{
    public class MembershipFactory
    {
        public static IMembership GetMembership()
        {
            string typeName = ConfigurationManager.AppSettings["plugin.membership"];
            return (IMembership)Activator.CreateInstance(Type.GetType(typeName));
        }
    }
}
